Loading
Scriptbox
 VBScript Links 
 About VBscript 
 JavaScript Links 
 About JavaScript 
 Powershell Links 
 PSCRIPT the Script Launcher 
 PowerShell Shortcut Keys 
 About Powershell 
     VBScript
    JavaScript
    Powershell
Disclaimer
Contact
Latest 10 Scripts
Script search
  :: { Category } :: 0-9ABCDEFGHIJKLMNOPQRSTUVWXYZ
         

Search Options:  Modify  SMTP  Virtual  Server  Delivery  Properties  

 Content of Modify SMTP Virtual Server Delivery Properties.vbs
MD5 Hash: F638171F01287E71B834A84E8F996153
' Description: Demonstration script that modifies global SMTP virtual directory metabase property values on a computer running IIS 6.0.


strComputer = "."
Set objWMIService = GetObject _
("winmgmts:{authenticationLevel=pktPrivacy}\\" _
& strComputer & "\root\microsoftiisv2")

Set colItems = objWMIService.ExecQuery _
("Select * from IIsSmtpServiceSetting")

For Each objItem in colItems
objItem.SmtpLocalDelayExpireMinutes = 1000
objItem.SmtpLocalNDRExpireMinutes = 4000
objItem.SmtpRemoteDelayExpireMinutes = 1000
objItem.SmtpRemoteNDRExpireMinutes = 4000
objItem.SmtpRemoteProgressiveRetry = "60,120,240"
objItem.Put_
Next

   © 2008 - 2013 Boris Toll      :: Scripts available: 6.481 ::      :: scriptbox.toll.at ::      :: powered by www.toll.at ::
  Google Entries:n/a
  Yahoo Backlinks:n/a
  Live Backlinks:n/a
  del.icio.us Bookmarks:n/a
  Technorati Links:n/a